Skip to content

P3560R2 Error Handling in Reflection #8046

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jul 16, 2025

Conversation

Eisenwave
Copy link
Member

Closes #7962.
Also closes cplusplus/papers#2206.

As mentioned in #7962, this does not yet include the bulk edit of replacing Constant When with Throws. That is presumably best done after merging all the other reflections papers.

@Eisenwave Eisenwave force-pushed the motions-2025-06-lwg-25 branch from d5f8cb1 to 6e148db Compare July 14, 2025 20:51
@Eisenwave

This comment was marked as outdated.

@Eisenwave Eisenwave force-pushed the motions-2025-06-lwg-25 branch 2 times, most recently from 0459a1e to 15cbc9c Compare July 16, 2025 05:00
@Eisenwave
Copy link
Member Author

As discussed in #7962, the LEWG and LWG intent is to replace Constant When with Throws in bulk for the subclause, even for follow-up features like annotation reflection.

I've now broken the follow-up changes up into separate commits, but they should definitely be in this PR, since the paper is supposed to have that effect on the whole subclause (with the exception of define_aggregate).

@tkoeppe tkoeppe force-pushed the motions-2025-06-lwg-25 branch 2 times, most recently from 9900339 to 55d8475 Compare July 16, 2025 17:01
@tkoeppe tkoeppe force-pushed the motions-2025-06-lwg-25 branch from 55d8475 to 66c4b11 Compare July 16, 2025 17:10
@tkoeppe tkoeppe merged commit cab0d01 into cplusplus:main Jul 16, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[2025-06 LWG Motion 25] P3560R2 Error Handling in Reflection P3560 R1 Error Handling in Reflection
2 participants